package com.zhm.demo.rockmq;

import lombok.Data;

public class RockMqConfig {

    @Data
    public static class Item{
        private String serverAddr;
    }


    public static Item pre(){
        Item item = new Item();
        item.setServerAddr("172.24.73.29:9876");
        return item;
    }

    public static Item sit(){
        Item item = new Item();
        item.setServerAddr("172.24.73.24:9876");
        return item;
    }

    public static Item local(){
        Item item = new Item();
        item.setServerAddr("127.0.0.1:9876");
        return item;
    }

}
